<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core_rt"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="f"%>
<div class="h_a1" style="clear: both;">
    <span class="title">存管用户年龄段统计</span>
</div>
<div class="count cc" id="cbox">
    <div class="c-box">
        <div class="c-box-head">70后人数（人）</div>
        <div class="c-box-con">
            <span name="depo_year_count_70" class="number">0</span> <span>人</span>
        </div>
    </div>
    <div class="c-box">
        <div class="c-box-head">80后人数（人）</div>
        <div class="c-box-con">
            <span name="depo_year_count_80" class="number">0</span> <span>人</span>
        </div>
    </div>
    <div class="c-box">
        <div class="c-box-head">90后人数（人）</div>
        <div class="c-box-con">
            <span name="depo_year_count_90" class="number">0</span> <span>人</span>
        </div>
    </div>
    <div class="c-box">
        <div class="c-box-head">非70.80.90后人数（人）</div>
        <div class="c-box-con">
            <span name="depo_year_count_other" class="number">0</span> <span>人</span>
        </div>
    </div>
</div>

<script>
    YJD.use('AppAdminCommon');
    YJD.use('AppBICommon');
    function addCompareData1() {
        $.ajax({
            type : "post",
            url : '${requestScope.FPWEB.rootPath }/depo/stist/year${requestScope.FPWEB.urlStuff}',
            data : {}, // 你的formid
            error : function(request) {
                alert("连接失败！");
            },
            success : function(result) {
                if (result.state == 1) {
                    $("span[name='depo_year_count_70']").text(result.data.depo_year_count_70);
                    $("span[name='depo_year_count_80']").text(result.data.depo_year_count_80);
                    $("span[name='depo_year_count_90']").text(result.data.depo_year_count_90);
                    $("span[name='depo_year_count_other']").text(result.data.depo_year_count_other);
                }
            }
        });
    }
    addCompareData1();
</script>
